package com.lz.reflect.introspector;

/**
 * Student..
 *
 * @author Lizhong
 * @date 2019/6/13
 */

public class Student {
    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    //虽然上边的字段里没定义abc这个字段
    //但这也是属性：属性名称是abc，注意：只要是set或者get开头的方法都叫属性
    public String getAbc(){
        return "abc";
    }
}
